package com.zq.server.api.domain.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("活动实体类")
public class ApiActivity implements Serializable {
    /**
     * 活动ID
     */
    @ApiModelProperty(value = "活动ID")
    private Long id;
    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String aTitle;
    /**
     * 报名截至时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "MM.dd HH:mm")
    @ApiModelProperty(value = "报名截至时间")
    private LocalDateTime aApplyOverTime;
    /**
     * 结束时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "HH:mm")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime aEndtime;
    /**
     * 开始时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "MM.dd HH:mm")
    private LocalDateTime aStarttime;
    /**
     * 公告
     */
    private String aAnnouncement;
    /**
     * 活动介绍
     */
    private String aDescription;
    /**
     * 图片集合
     */
    private String aImages;
    /**
     * 创建者ID
     */
    private Long aCreatoropenid;
    /**
     * 创建时间
     */
    private LocalDateTime aCreationtime;
    /**
     * 更新时间
     */
    private LocalDateTime aUpdatetime;
    /**
     * 活动状态   1报名中   2进行中   3已结束
     */
    private Integer aState;
    /**
     * 创建人姓名
     */
    private String aCreatorname;
    /**
     * 创建人头像
     */
    private String aCreatorimage;
    /**
     *活动时间
     */
    private String activity_time;
    /**
     * 地址
     */
    private String aAddress;

    private String city;

    private Double latitude;
    /**
     *
     */
    private Double longitude;
    /**
     * 组list
     */
    private List<ApiGroup> groupList;




}